/**
 * Created by jerry on 2017/11/13.
 * 用户相关api
 */
import * as API from './'

export default {
  //查询获取book列表(通过page分页)
  findList: params => {
    return API.POST('/jobinfo/pageList', params)
  },
    operate: params => {
    return API.POST('/jobinfo/trigger', params)
  },
    pause: params => {
    return API.POST('/jobinfo/pause', params)
  },
    resume: params => {
    return API.POST('/jobinfo/resume', params)
  },

  add: params => {
    return API.POST('/jobinfo/add', params)
  },
  update: params => {
    return API.POST('/jobinfo/update', params)
  },

  remove: params => {
    return API.POST(`/jobinfo/remove`,params)
  },

}
